<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div class="">调过来了</div>
    <script>
    //生成表情图片
    var bqlist=[];
    for (var i = 1; i < 55; i++) {
        bqlist.push({
            path:"../../image/biaoqing/bq"+i+".png",
            index:i,
        })
    }
    //21个归类
    var linarr = [];
    var bql = bqlist.length;
    for (let j = 0; j < Math.ceil(bql / 21); j++) {
        console.log()
        j == (Math.ceil(bql / 21) -1) ?  linarr.push(bqlist.splice(0,bqlist.length)) : linarr.push(bqlist.splice(0,21))
    }
    
    </script>
</body>
</html>